package com.rankeiot.core.exception;

/**
 * 用户权限异常
 */
public class AuthException extends RuntimeException{
    private int code=401;
    public AuthException(String message){
        super(message);
    }
    public AuthException(int code,String message){
        super(message);
        this.code=code;
    }
    public int getCode() {
        return code;
    }
}
